﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Bird.OAWeb.EF;
using Bird.OAWeb.Domain.Table;
using System.Reflection.PortableExecutable;

namespace Bird.OAWeb.EF
{
    public class ShopDBContext : DbContext
    {
        public ShopDBContext(DbContextOptions<ShopDBContext> options) : base(options)
        {
        }
        public DbSet<User> User { get; set; }
        public DbSet<Role> Role { get; set; }
        public DbSet<Permissions> Permissions { get; set; }
        public DbSet<RoleUsers> RoleUsers { get; set; }
        public DbSet<RolePermission> RolePermissions { get; set; }
    }
}
